import React from 'react'
import { Switch, BrowserRouter, Route, Redirect } from 'react-router-dom'
import Login from './pages/Login/Login';
import Home from './pages/Home/Home'
function App() {
  return (
    <BrowserRouter >
      <Switch>
        <Route path='/login' component={Login} />
        <Route path='/' component={Home} />
        <Redirect to='/' />
      </Switch>
    </BrowserRouter>
  );
}

export default App;
